home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / DEV / A-B / 004.TubeTest.cpt / PTubeTest.make < prev    next >
Text File  |  1988-08-01  |  2KB  |  50 lines

  1. #
  2. #    Macintosh Developer Technical Support
  3. #
  4. #    Simple Color QuickDraw Animation Sample Application
  5. #
  6. #    TubeTest
  7. #
  8. #    TubeTest.make    -    Make Source
  9. #
  10. #    Copyright © 1988 Apple Computer, Inc.
  11. #    All rights reserved.
  12. #
  13. #    Versions:    1.0                    8/88
  14. #
  15. #    Components:    TubeTest.p            August 1, 1988
  16. #                TubeTest.c            August 1, 1988
  17. #                TubeTest.r            August 1, 1988
  18. #                PTubeTest.make        August 1, 1988
  19. #                CTubeTest.make        August 1, 1988
  20. #
  21. #    The TubeTest program is a simple demonstration of how to use the Palette 
  22. #    Manager in a color program.  It has a special color palette that is associated
  23. #    with the main window.  The colors are animated using the Palette Manager 
  24. #    to give a flowing tube effect.  The program is very simple, and the Palette
  25. #    Manager and drawing parts are put in separate subroutines to make it easier
  26. #    to figure out what is happening.
  27. #    
  28. #    The program is still a complete Macintosh application with a Main Event Loop,
  29. #    so there is the extra code to run the MEL.  
  30. #    
  31. #    There is a resource file that is necessary as well, to define the Menus, Window,
  32. #    Dialog, and Palette resources used in the program.  
  33. #
  34. #    See Sample and TESample for the general structure and MultiFinder techniques that
  35. #    we recommend that you use when building a new application.
  36. #
  37.  
  38. PObjs            =    TubeTest.p.o ∂
  39.                     "{Libraries}"Runtime.o ∂
  40.                     "{Libraries}"Interface.o ∂
  41.                     "{PLibraries}"PasLib.o
  42.  
  43. PTubeTest        ƒƒ    {PObjs} PTubeTest.make
  44.         Link -o {Targ} {PObjs}
  45.         SetFile {Targ} -t APPL -c '????'
  46.  
  47. PTubeTest        ƒƒ    TubeTest.r PTubeTest.make
  48.         Rez -rd -o {Targ} TubeTest.r -append
  49.  
  50.